package net.steam.easyjoboa.entity;

import java.util.Date;

/**
 * AddressBook entity. @author MyEclipse Persistence Tools
 */

public class AddressBook implements java.io.Serializable {

	// Fields

	private Integer id;
	private Employee employee;
	private Department department;
	private AddressGroup addressGroup;
	private String name;
	private String sex;
	private String nation;
	private String email;
	private String officePhone;
	private Long qq;
	private String ismarriage;
	private Date birthday;
	private Long mobile;
	private String address;

	// Constructors

	/** default constructor */
	public AddressBook() {
	}

	/** minimal constructor */
	public AddressBook(AddressGroup addressGroup, String name, String sex,
			String nation, Long qq, String ismarriage, Date birthday,
			Long mobile, String address) {
		this.addressGroup = addressGroup;
		this.name = name;
		this.sex = sex;
		this.nation = nation;
		this.qq = qq;
		this.ismarriage = ismarriage;
		this.birthday = birthday;
		this.mobile = mobile;
		this.address = address;
	}

	/** full constructor */
	public AddressBook(Employee employee, Department department,
			AddressGroup addressGroup, String name, String sex, String nation,
			String email, String officePhone, Long qq, String ismarriage,
			Date birthday, Long mobile, String address) {
		this.employee = employee;
		this.department = department;
		this.addressGroup = addressGroup;
		this.name = name;
		this.sex = sex;
		this.nation = nation;
		this.email = email;
		this.officePhone = officePhone;
		this.qq = qq;
		this.ismarriage = ismarriage;
		this.birthday = birthday;
		this.mobile = mobile;
		this.address = address;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public Department getDepartment() {
		return this.department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public AddressGroup getAddressGroup() {
		return this.addressGroup;
	}

	public void setAddressGroup(AddressGroup addressGroup) {
		this.addressGroup = addressGroup;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getNation() {
		return this.nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getOfficePhone() {
		return this.officePhone;
	}

	public void setOfficePhone(String officePhone) {
		this.officePhone = officePhone;
	}

	public Long getQq() {
		return this.qq;
	}

	public void setQq(Long qq) {
		this.qq = qq;
	}

	public String getIsmarriage() {
		return this.ismarriage;
	}

	public void setIsmarriage(String ismarriage) {
		this.ismarriage = ismarriage;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Long getMobile() {
		return this.mobile;
	}

	public void setMobile(Long mobile) {
		this.mobile = mobile;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

}